@mixin ellipsis($line) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: $line; /* 控制多行的行数 */
  text-overflow: ellipsis;
}

.ellipsis-4 {
  @include ellipsis(4);
}

.ellipsis-3 {
  @include ellipsis(3);
}
